<?php

require_once('../dbconnect.inc.php');
require_once('../auth.inc.php');

$auth = new auth();

$user = $auth->isauth($dbh,$_COOKIE, $admin);

if (!$user)
{
    die('User not autorized!');
}

?>